/**
 * 
 */
package tau.adx.common.messages.auction;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import tau.adx.common.messages.AdxMessage;
import tau.adx.common.publishers.AdxPublisher;
import tau.adx.common.users.AdxUser;

/**
 * Default class for every auction message in the <b>Ad Exchange</b> system.
 * 
 * @author greenwald
 * 
 */
@Data
@AllArgsConstructor
@EqualsAndHashCode
public class AuctionMessage implements AdxMessage {

	/**
	 * {@link AdxUser} auction was performed for.
	 */
	private AdxUser user;
	/**
	 * {@link AdxPublisher} auction was performed for.
	 */
	private AdxPublisher publisher;
	/**
	 * {@link AdxPublisher Publisher}'s reserve price.
	 */
	private double reservePrice;

}
